#@layout()
#define nav()
	#@adminNav()
#end
#define main()
#if(change.totalPage!=0 )
		#for(x : change.getList())
		<div class="panel panel-primary">
		<div class="panel-heading">
			<h4 class="panel-title">
				<a data-toggle="collapse" data-parent="#accordion" 
				   href="#collapse#(x.id)">
					#(x.name)
				</a>
			</h4>
		</div>
		<div id="collapse#(x.id)" class="panel-collapse collapse">
			<div class="panel-body">
				<ul class="list-group">
   					<li class="list-group-item">项目编号:&nbsp&nbsp&nbsp&nbsp#(x.projectId)</li>
   					<li class="list-group-item">申报年份:&nbsp&nbsp&nbsp&nbsp#(x.year)</li>
   					<li class="list-group-item">项目类型:&nbsp&nbsp&nbsp&nbsp#(x.type)</li>
   					<li class="list-group-item">项目级别:&nbsp&nbsp&nbsp&nbsp#(x.levels)</li>
   					<li class="list-group-item">类型:&nbsp&nbsp&nbsp&nbsp#(x.type)</li>
   					<li class="list-group-item">变更前:&nbsp&nbsp&nbsp&nbsp#(x.before)</li>
   					<li class="list-group-item">变更后:&nbsp&nbsp&nbsp&nbsp#(x.after)</li>
   					<li class="list-group-item">变更事由:&nbsp&nbsp&nbsp&nbsp#(x.reason)</li>
   					<li class="list-group-item">
   					<form action="" name="form1" method="post">
   						<input type="hidden" name="projectId" value="#(x.projectId)" />
   						<input type="hidden" name="type" value="#(x.type)" />
    					<input type="button" value="通过" type="submit" onclick="form1.action='changePeopleYes';form1.submit();"/>
						&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp
						<input type="button" value="拒绝" type="submit" onclick="form1.action='changePeopleNo';form1.submit();" />
					</form>
					</li>

				</ul>
				
			</div>
		</div>
		
		#@paginate(change.pageNumber,change.totalPage,"changePeople")
		</div>
	#end
#else
<h4 class="panel-title">
				<a data-toggle="collapse" data-parent="#accordion" >
					没有人员变更申请
				</a>
</h4>
#end
#end